package com.sofn.spboot.service;

import com.sofn.spboot.dao.UserMapper;
import com.sofn.spboot.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * author tianjie
 *
 * @date 2016/11/8
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public User getUser(){
        return userMapper.findUserInfo();
    }
}
